#ifndef INTERFAZ_FUSE_H_
#define INTERFAZ_FUSE_H_

#include <fuse.h>
#include<errno.h>
#include "FUSE_Functions.h"

key_t sem1,sem2;
int sem,sem3;

int FS_create(const char *, mode_t, struct fuse_file_info *);
int FS_open(const char *, struct fuse_file_info *);
int FS_read(const char *, char *, size_t, off_t, struct fuse_file_info *);
int FS_write(const char *, const char *, size_t, off_t, struct fuse_file_info *);
int FS_flush(const char *, struct fuse_file_info *);
int FS_release(const char *, struct fuse_file_info *);
int FS_truncate(const char *, off_t);
int FS_unlink(const char *path);
int FS_mkdir(const char*, mode_t);
int FS_readdir(const char *, void *, fuse_fill_dir_t, off_t , struct fuse_file_info *);
int FS_rmdir(const char *);
int FS_getattr(const char *, struct stat *);
int FS_rename(const char*, const char*);
int FS_fgetattr(const char *, struct stat *);

#endif
